<?php defined('SYS_PATH') OR exit('No direct script access allowed');?>
<div style="border:1px solid #990000;padding-left:20px;margin:0 0 10px 0;">
	<h4>An uncaught Exception was encountered</h4>
	<p>Type: <?php echo get_class($e);?></p>
	<p>Message: <?php echo $message;?></p>
	<p>Filename: <?php echo str_replace(ROOT_PATH, '', $e->getFile());?></p>
	<p>Line Number: <?php echo $e->getLine();?></p>
	<p>Backtrace:</p>
	<?php foreach ($e->getTrace() as $trace) {?>
	<p style="margin-left:10px">
	File: <?php echo str_replace(ROOT_PATH, '', $trace['file']);?><br />
	Line: <?php echo $trace['line']; ?><br />
	Function: <?php echo $trace['function'];?>
	</p>
	<?php }?>
</div>